package com.student.dong.mapper;

import com.alibaba.nacos.shaded.org.checkerframework.checker.units.qual.A;
import com.student.dong.entity.AlgsEvaluate;
import com.student.dong.vo.CurriculaVaribleVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author donghang
* @description 针对表【algs_evaluate(教师评价表)】的数据库操作Mapper
* @createDate 2023-03-16 10:09:17
* @Entity com.student.dong.entity.AlgsEvaluate
*/
public interface AlgsEvaluateMapper {

    int deleteByPrimaryKey(Long id);

    int insert(AlgsEvaluate record);

    int insertSelective(AlgsEvaluate record);

    AlgsEvaluate selectByPrimaryKey(Long id);

    List<CurriculaVaribleVo> selHomeWork(@Param("userId") Long Algs);

    CurriculaVaribleVo selOne(@Param("curriculaVaribleId")Long curriculaVaribleId,@Param("studentId")Long studentId);

    AlgsEvaluate selKey(@Param("studentId") Long studentId,@Param("teacherId") Long teacherId,@Param("curriculaVaribleId")Long curriculaVaribleId);

    int updateByPrimaryKeySelective(AlgsEvaluate record);

    int updateByPrimaryKey(AlgsEvaluate record);

    AlgsEvaluate selectByStudentId(@Param("studentId")Integer studentId,@Param("curriculaVaribleId")Long curriculaVaribleId);

}
